#!/bin/bash
cd /opt/project/ry_-vue/
git pull
cd ruoyi-ui
npm run build:prod
cp -r dist/* docker/html/dist/
cd docker
docker build -t ryvue-ui:1 .
docker stop ryvue-ui
docker run -d --rm -p 8889:80 --network=rynetwork --name ryvue-ui ryvue-ui:1
